﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ChiTietDonHang.aspx.cs" Inherits="WebsiteBanHang.ChiTietDonHang" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content1" runat="server"> 
    <div>
        <h3>THÔNG TIN NGƯỜI MUA</h3>
    </div>

    <div>
        <table style="width:760px; height:95px; background-color:White;">
            <tr>
                <td>Họ Tên:</td>
                <td><asp:TextBox ID="txtHoTen" runat="server"></asp:TextBox></td>
            </tr>
            
            <tr>
                <td>E-mail:</td>
                <td><asp:TextBox ID="txtEmail" runat="server"></asp:TextBox></td>
            </tr>

            <tr>
                <td>Số Điện Thoại:</td>
                <td><asp:TextBox ID="txtSoDienThoai" runat="server"></asp:TextBox></td>
            </tr>
        </table> 
    </div>

    <div>
        <h3>CHI TIẾT SẢN PHẨM ĐẶT MUA</h3>
    </div>
    
    <table style="width:760px; height:95px; background-color:White;">
    <tr>
            <td colspan="4" style="text-align: center">
                <asp:GridView ID="GridView1" runat="server" 
        AutoGenerateColumns="False" CellPadding="3" Height="113px" Width="760px" 
        BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 
        AllowPaging="True"  PageSize="5"  >
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <Columns>
                        <asp:TemplateField HeaderText="STT"> 
                        <ItemTemplate>
                                    <%# Container.DataItemIndex + 1 %>
                                </ItemTemplate> 
                            <HeaderTemplate>
                                STT<br />
                            </HeaderTemplate>
                        </asp:TemplateField>  

                        <asp:BoundField DataField="MaSanPham" HeaderText="Mã SP" />
                        <asp:BoundField DataField="TenSanPham" HeaderText="Tên SP" />
                        <asp:BoundField DataField="MaNhaSanXuat" HeaderText="Mã NSX" />
                        <asp:BoundField DataField="MaLoaiSanPham" HeaderText="Mã Loại SP" />
                        <asp:BoundField DataField="HinhAnh" HeaderText="Hình Ảnh" />
                        <asp:BoundField DataField="GiaMua" HeaderText="Giá Mua" />
                        <asp:BoundField DataField="GiaBan" HeaderText="Giá Bán" />
                        <asp:BoundField DataField="SoLuongTon" HeaderText="Số Lượng Tồn" />
                        <asp:BoundField DataField="TinhTrang" HeaderText="Tình Trạng" />
                        <asp:BoundField DataField="SanPhamMoi" HeaderText="SP Mới" />
                        <asp:BoundField DataField="PhanTramKM" HeaderText="Khuyến Mãi" />
                        
                    </Columns>
                    <RowStyle ForeColor="#000066" />
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                </asp:GridView>
            </td>
            <td colspan="1" style="width: 7px; text-align: center">
            </td>
        </tr>
        </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
</asp:Content>
